package com.iplay.实战java高并发程序设计.chapter5.c510;

import java.nio.ByteBuffer;
import java.util.LinkedList;

/**
 * @author dangwu
 * @since 2021/11/9 8:18 下午
 */
public class EchoClient {
    private LinkedList<ByteBuffer> outq;
    EchoClient(){
        outq = new LinkedList<>();
    }
    public LinkedList<ByteBuffer> getOutPutQueue(){
        return outq;
    }
    public void enqueue(ByteBuffer bb){
        outq.addFirst(bb);
    }

}
